<?php
	include_once("member/config.php");
    include_once ("include/common.inc.php");
    include_once DEDEINC."/arc.partview.class.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title ?></title>
<link href="/css/css.css" rel="stylesheet" />

<?php
	$file_arr = array('contract.php', 'case.php', 'paper.php');

	$REQUEST_URI = $_SERVER['REQUEST_URI'];
	
	$request_arr = explode('/', $REQUEST_URI);
	$c = count($request_arr) - 1;
	
	if(in_array($request_arr[$c], $file_arr))
	{
		echo '<link href="/css/css02.css" rel="stylesheet" />';
	}
	else
	{
		echo '<link href="/css/css01.css" rel="stylesheet" />';
	}	
?>
</head>

<body>
<div class="header clearfix">
	<div class="logo"><a href="/index.php"><img src="images/logo.gif" alt="法治天下"/></a></div>
	<div class="login_box">
		<dl>
		<form class="FormElements rp" id="loginForm" name="userlogin" action="member/index_do.php" method="POST">
        <input type="hidden" name="fmdo" value="login" />
        <input type="hidden" name="dopost" value="login" />
        <input type="hidden" name="keeptime" value="604800" />
        <input type="hidden" value="<?php echo '../'.$request_arr[$c] ?>" name="gourl">
        
		<dt class="left"></dt>
			<dd>
				<ul class="clearfix">
					<li><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://lawui.youisinc.com');" target="_parent" class="a_w p_15_l_r"><b>设为首页</b></a></li>
					
					<?php
						$uid  = $cfg_ml->M_LoginID;

						if($uid)
						{
							echo '<li style="width: 393px; text-align:left"><a href="" target="_parent" class="a_w p_r_100"><b>加入收藏</b></a></li>';
							echo '<li><label for="name">你好：'.$uid.'&nbsp;&nbsp;&nbsp;&nbsp;</label></li>';
							echo '<li style="width: 60px;"><label><a href="member/index_do.php?fmdo=login&dopost=exit&gourl=../'.$request_arr[$c].'" style="display:inline; color:#FFFFFF">退出登录</a></label></li>';
						}
						else
				        {	
					?>		
						<li><a onClick="window.external.AddFavorite(location.href,document.title)" target="_parent" class="a_w p_r_100"><b>加入收藏</b></a></li>	
						<li>
							<label for="name">用户名</label> 
							<input id="userid" name="userid" type="text" value="" class="top_input_name dq"/>
						</li>
						<li> &nbsp; <label for="password">密码</label> 
							<input id="password"  name="pwd" type="password" value="" class="top_input_password dq"/>
						</li>
						<li class="top_zc" style="border:0px red solid;padding-top:1px"> 
							<a href="javascript:;" onclick="document.getElementById('loginForm').submit()">登录</a>
						</li>
	                    <li class="top_zc" style="border:0px red solid;"><a href="member/index_do.php?fmdo=user&dopost=regnew" target="_parent" >注册</a></li>
                    <?php } ?>
                    <!--
					<li class="top_w_a_bg"><a href="" target="_parent">网站导航</a></li>
					<li class="top_w_a_bg"><a href="" target="_parent" >RSS订阅</a></li>
					-->
				</ul>
			</dd>
			<dt class="right"></dt>
		</dl>
		</form>
	</div>
	<div class="meun clearfix">
		<ul class="clearfix">
			<!-- 
			<li><a href="/school.php" target="_parent">法学院校</a></li>
			<li><a href="/law-dictionary.php" target="_parent"><b>法律词典</b></a></li> 
			<li><a href="/law-word.php" target="_parent">法律文书</a></li>
			-->
			<li><a href="/news.php" target="_parent"><b>新闻时讯</b></a></li>
			<li><a href="#" target="_parent">今日聚焦</a></li>
			<li><a href="#" target="_parent">环球法治</a></li>
			<li><a href="#" target="_parent">热点专题</a></li>
			<li><a href="#" target="_parent">法学前沿</a></li>
			<li><a href="#" target="_parent">法制时评</a></li>
			<li><a href="#" target="_parent"><b>法律教育</b></a></li>
			<li><a href="#" target="_parent">司法考试</a></li>
			<li><a href="/exam.php" target="_parent">考研天地</a></li>
			<li><a href="/on-job.php" target="_parent">在职硕博</a></li>
			<li><a href="#" target="_parent">网络学堂</a></li>
			<li><a href="/trainings.php" target="_parent">法务培训</a></li>
		</ul>
		<ul class="clearfix">
			<li><a href="#" target="_parent"><b>法律咨询</b></a></li>
			<li><a href="#" target="_parent">提问题</a></li>
			<li><a href="#" target="_parent">解答区</a></li>
			<li><a href="#" target="_parent">律师天地</a></li>
			<li><a href="#" target="_parent">查咨询</a></li>
			<li><a href="#" target="_parent">在线咨询</a></li>
			<li><a href="#" target="_parent"><b>法律服务</b></a></li>
			<li><a href="#" target="_parent">企业专区</a></li>
			<li><a href="#" target="_parent">案源中心</a></li>
			<li><a href="/contract.php" target="_parent">合同范本</a></li>
			<li><a href="#" target="_parent">法务流程</a></li>
			<li><a href="#" target="_parent">法律援助</a></li>
		</ul>
		<ul class="clearfix">
			<li><a href="#" target="_parent"><b>域外法制</b></a></li>
			<li><a href="/business-arbitration.php" target="_parent">商事仲裁</a></li>
			<li><a href="/court.php" target="_parent">国际法院</a></li>
			<li><a href="/wto.php" target="_parent">WTO</a></li>
			<li><a href="#" target="_parent">涉外诉讼</a></li>
			<li><a href="/english.php" target="_parent">法律英语</a></li>
			<li><a href="/encyclopaedia.php" target="_parent"><b>法学百科</b></a></li>   
			<li><a href="/law.php" target="_parent">法律法规</a></li>
			<li><a href="/law-dictionary.php" target="_parent">法律辞典</a></li>
			<li><a href="/case.php" target="_parent">司法案例</a></li>
			<li><a href="#" target="_parent">法条释义</a></li>
			<li><a href="#" target="_parent">法学期刊</a></li>
		</ul>
		<ul class="end clearfix">
			<li><a href="/gjsf.php" target="_parent">公检法司</a></li>
			<li><a href="/lawyer.php" target="_parent">法律学人</a></li>
			<li><a href="/paper.php" target="_parent">法律论文</a></li>
			<li><a href="#" target="_parent">法律书店</a></li>
			<li><a href="/job.php" target="_parent">实习就业</a></li>
			<li><a href="#" target="_parent">蓟门学堂</a></li>
			<li><a href="/law-business.php" target="_parent">律师营销</a></li>   
			<li><a href="#" target="_parent">实务专题</a></li>
		</ul>
	</div>
</div>
<div class="hr_01"></div>